<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: g3dvtk::ColorMapCoolToWarm Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceg3dvtk.html">g3dvtk</a></li><li class="navelem"><a class="el" href="classg3dvtk_1_1_color_map_cool_to_warm.html">ColorMapCoolToWarm</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classg3dvtk_1_1_color_map_cool_to_warm-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">g3dvtk::ColorMapCoolToWarm Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Color map of Smooth Cool Warm from <a href="https://www.kennethmoreland.com/color-advice/">Color Map Advice for Scientific Visualization</a>.  
 <a href="#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_color_map_cool_to_warm_8h_source.html">ColorMapCoolToWarm.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for g3dvtk::ColorMapCoolToWarm:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classg3dvtk_1_1_color_map_cool_to_warm.png" usemap="#g3dvtk::ColorMapCoolToWarm_map" alt=""/>
  <map id="g3dvtk::ColorMapCoolToWarm_map" name="g3dvtk::ColorMapCoolToWarm_map">
<area href="classg3dvtk_1_1_color_map.html" alt="g3dvtk::ColorMap" shape="rect" coords="0,0,183,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7e8aef3d947c8ddd06d681918cee7356" id="r_a7e8aef3d947c8ddd06d681918cee7356"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7e8aef3d947c8ddd06d681918cee7356">ColorMapCoolToWarm</a> ()</td></tr>
<tr class="separator:a7e8aef3d947c8ddd06d681918cee7356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1b4bfe9569ed03a1756dc5c38869a13" id="r_af1b4bfe9569ed03a1756dc5c38869a13"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af1b4bfe9569ed03a1756dc5c38869a13">~ColorMapCoolToWarm</a> ()</td></tr>
<tr class="separator:af1b4bfe9569ed03a1756dc5c38869a13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Methods inherited from #ColorMap .</div></td></tr>
<tr class="memitem:a5f5e3d028a00721f6503dbf1d59eca62" id="r_a5f5e3d028a00721f6503dbf1d59eca62"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5f5e3d028a00721f6503dbf1d59eca62">Name</a> () const</td></tr>
<tr class="memdesc:a5f5e3d028a00721f6503dbf1d59eca62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the color map.  <br /></td></tr>
<tr class="separator:a5f5e3d028a00721f6503dbf1d59eca62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a786b6894b8068e62c9b8b22591e82297" id="r_a786b6894b8068e62c9b8b22591e82297"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a786b6894b8068e62c9b8b22591e82297">Size</a> () const</td></tr>
<tr class="memdesc:a786b6894b8068e62c9b8b22591e82297"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of the color entries in the map.  <br /></td></tr>
<tr class="separator:a786b6894b8068e62c9b8b22591e82297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c2938d1655672e120eaface2e4e3e1f" id="r_a6c2938d1655672e120eaface2e4e3e1f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6c2938d1655672e120eaface2e4e3e1f">ColorAt</a> (int i, unsigned char &amp;r, unsigned char &amp;g, unsigned char &amp;b) const</td></tr>
<tr class="memdesc:a6c2938d1655672e120eaface2e4e3e1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch colors.  <br /></td></tr>
<tr class="separator:a6c2938d1655672e120eaface2e4e3e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0275db8351b255d7b41efe02967ebde4" id="r_a0275db8351b255d7b41efe02967ebde4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0275db8351b255d7b41efe02967ebde4">ColorAt</a> (int i, double &amp;r, double &amp;g, double &amp;b) const</td></tr>
<tr class="separator:a0275db8351b255d7b41efe02967ebde4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classg3dvtk_1_1_color_map"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classg3dvtk_1_1_color_map')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classg3dvtk_1_1_color_map.html">g3dvtk::ColorMap</a></td></tr>
<tr class="memitem:a481a664b2da65a99a3a456ebfb672a5e inherit pub_methods_classg3dvtk_1_1_color_map" id="r_a481a664b2da65a99a3a456ebfb672a5e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg3dvtk_1_1_color_map.html#a481a664b2da65a99a3a456ebfb672a5e">ColorMap</a> ()</td></tr>
<tr class="separator:a481a664b2da65a99a3a456ebfb672a5e inherit pub_methods_classg3dvtk_1_1_color_map"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03ea5b59ad0e2e072a3aba75ee1af720 inherit pub_methods_classg3dvtk_1_1_color_map" id="r_a03ea5b59ad0e2e072a3aba75ee1af720"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg3dvtk_1_1_color_map.html#a03ea5b59ad0e2e072a3aba75ee1af720">~ColorMap</a> ()</td></tr>
<tr class="separator:a03ea5b59ad0e2e072a3aba75ee1af720 inherit pub_methods_classg3dvtk_1_1_color_map"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae4b7709acbfc5ef7c037f90359e3b37 inherit pub_methods_classg3dvtk_1_1_color_map" id="r_aae4b7709acbfc5ef7c037f90359e3b37"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg3dvtk_1_1_color_map.html#aae4b7709acbfc5ef7c037f90359e3b37">RandomColor</a> (unsigned char &amp;r, unsigned char &amp;g, unsigned char &amp;b) const</td></tr>
<tr class="separator:aae4b7709acbfc5ef7c037f90359e3b37 inherit pub_methods_classg3dvtk_1_1_color_map"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c45e518b84dd0fb77aa0d59fd24cb86 inherit pub_methods_classg3dvtk_1_1_color_map" id="r_a3c45e518b84dd0fb77aa0d59fd24cb86"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg3dvtk_1_1_color_map.html#a3c45e518b84dd0fb77aa0d59fd24cb86">RandomColor</a> (double &amp;r, double &amp;g, double &amp;b) const</td></tr>
<tr class="separator:a3c45e518b84dd0fb77aa0d59fd24cb86 inherit pub_methods_classg3dvtk_1_1_color_map"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classg3dvtk_1_1_color_map"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_classg3dvtk_1_1_color_map')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classg3dvtk_1_1_color_map.html">g3dvtk::ColorMap</a></td></tr>
<tr class="memitem:a4c7abbc29ff8ef21e9504d7aa28e16e4 inherit pub_static_methods_classg3dvtk_1_1_color_map" id="r_a4c7abbc29ff8ef21e9504d7aa28e16e4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classg3dvtk_1_1_color_map.html">ColorMap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg3dvtk_1_1_color_map.html#a4c7abbc29ff8ef21e9504d7aa28e16e4">NewDefaultMap</a> ()</td></tr>
<tr class="separator:a4c7abbc29ff8ef21e9504d7aa28e16e4 inherit pub_static_methods_classg3dvtk_1_1_color_map"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Color map of Smooth Cool Warm from <a href="https://www.kennethmoreland.com/color-advice/">Color Map Advice for Scientific Visualization</a>. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7e8aef3d947c8ddd06d681918cee7356" name="a7e8aef3d947c8ddd06d681918cee7356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e8aef3d947c8ddd06d681918cee7356">&#9670;&#160;</a></span>ColorMapCoolToWarm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g3dvtk::ColorMapCoolToWarm::ColorMapCoolToWarm </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af1b4bfe9569ed03a1756dc5c38869a13" name="af1b4bfe9569ed03a1756dc5c38869a13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1b4bfe9569ed03a1756dc5c38869a13">&#9670;&#160;</a></span>~ColorMapCoolToWarm()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual g3dvtk::ColorMapCoolToWarm::~ColorMapCoolToWarm </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0275db8351b255d7b41efe02967ebde4" name="a0275db8351b255d7b41efe02967ebde4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0275db8351b255d7b41efe02967ebde4">&#9670;&#160;</a></span>ColorAt() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void g3dvtk::ColorMapCoolToWarm::ColorAt </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>r</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>g</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span>&#160;) const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="classg3dvtk_1_1_color_map.html#a2cc74ff6d49ccef54f715bc473d3a454">g3dvtk::ColorMap</a>.</p>

</div>
</div>
<a id="a6c2938d1655672e120eaface2e4e3e1f" name="a6c2938d1655672e120eaface2e4e3e1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c2938d1655672e120eaface2e4e3e1f">&#9670;&#160;</a></span>ColorAt() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void g3dvtk::ColorMapCoolToWarm::ColorAt </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>i</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char &amp;</td>          <td class="paramname"><span class="paramname"><em>r</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char &amp;</td>          <td class="paramname"><span class="paramname"><em>g</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char &amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span>&#160;) const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Fetch colors. </p>

<p>Implements <a class="el" href="classg3dvtk_1_1_color_map.html#a203371fabdad3aede61e2744509b2f25">g3dvtk::ColorMap</a>.</p>

</div>
</div>
<a id="a5f5e3d028a00721f6503dbf1d59eca62" name="a5f5e3d028a00721f6503dbf1d59eca62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f5e3d028a00721f6503dbf1d59eca62">&#9670;&#160;</a></span>Name()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string g3dvtk::ColorMapCoolToWarm::Name </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Name of the color map. </p>

<p>Implements <a class="el" href="classg3dvtk_1_1_color_map.html#a6b2a7398c9ba61712f75de4981acca01">g3dvtk::ColorMap</a>.</p>

</div>
</div>
<a id="a786b6894b8068e62c9b8b22591e82297" name="a786b6894b8068e62c9b8b22591e82297"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a786b6894b8068e62c9b8b22591e82297">&#9670;&#160;</a></span>Size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int g3dvtk::ColorMapCoolToWarm::Size </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Number of the color entries in the map. </p>

<p>Implements <a class="el" href="classg3dvtk_1_1_color_map.html#a15a728e21340881f14cb3e06b8e31952">g3dvtk::ColorMap</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/g3dvtk/<a class="el" href="_color_map_cool_to_warm_8h_source.html">ColorMapCoolToWarm.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
